<template>
  <!--   教育用地详情 -->
  <div class="Index-box Educationalland-box">
    <div class="PlanningDetails-title">
      <div class="Detailstitle overallSituationTitle">教育用地</div>
      <div class="Detailsfanhui" @click="closeDetailsfanhui"></div>
    </div>
    <!-- 饼图 -->
    <div class="Educationalland-Echarts">
      <div class="BgImageBox"></div>
      <pieChartEcahrts :pieChartObj="pieChartObj" />
    </div>
    <div class="wqxxlb"></div>
    <div class="searchFor-box">
      <div class="elinput">
        <el-input
          v-model="inputValue"
          placeholder="请输入搜索内容"
          style="width: 100%; height: 100% !important"
        ></el-input>
      </div>
      <div class="fangdajing"></div>
    </div>
    <div class="Educationallandhezi-box">
      <div class="Biaoge-top">
        <div class="Biaoge-title1">学校名称</div>
        <div class="Biaoge-title2">占地面积</div>
        <div class="Biaoge-title3">整体占比</div>
        <div class="Biaoge-title4">落成时间</div>
        <div class="Biaoge-title5">定位</div>
      </div>
      <div class="Biaoge-centerBox">
        <div class="Biaoge-item" v-for="item in 110">
          <div class="Biaoge-item1">xxx小学</div>
          <div class="Biaoge-item2">1888m</div>
          <div class="Biaoge-item3">1:50</div>
          <div class="Biaoge-item4">2010-10-10</div>
          <div class="Biaoge-item5">
            <div class="Biaoge-icon"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup>
import { ref } from "vue"
import pieChartEcahrts from "@/components/pieChartEcahrtsgongyong.vue"
import { ue4 } from "@/utils/unrealJs"
const pieChartObj = ref({
  radius: ["28%", "42%"],
  center: ["25.4%", "50.4%"],
  danwei: "千米/小时",
  pieChartList: [
    {
      value: 100,
      name: "幼儿园",
      age: ""
    },
    { value: 80, name: "完全小学", age: "" },
    { value: 60, name: "九年制", age: "" },
    { value: 60, name: "十二年制", age: "" },
    { value: 60, name: "初中", age: "" },
    { value: 60, name: "高中", age: "" },
    { value: 60, name: "完全中学", age: "" }
  ]
})
// 返回
const closeDetailsfanhui = () => {
  ue4("GhEducationalDetails", { isClose: false })
}
</script>
<style scoped lang="less">
.Educationalland-box {
  background: url("@/assets/PlanningDetails/XXC_GUIHUAJIANSHE@2x.png") no-repeat
    center;
  background-size: 100% 100%;
  .Educationalland-Echarts {
    width: 400px;
    height: 210px;
    position: relative;
    .BgImageBox {
      position: absolute;
      left: 2%;
      top: 15%;
      width: 187px;
      height: 148px;
      background-color: red;
      background: url("@/assets/Left/Plan/JYYD_BJ_HXT.png") no-repeat center;
      background-size: 100% 100%;
    }
  }
  .wqxxlb {
    margin-left: 10px;
    margin-bottom: 10px;
    width: 95px;
    height: 17px;
    background: url("@/assets/Educationalland/XIAOBIAOTI.svg") no-repeat center;
    background-size: 100% 100%;
  }
  .searchFor-box {
    width: 376px;
    height: 28px;
    margin: auto;
    background: url("@/assets/PlanningDetails/SOUSUOKUANG@2x.png") no-repeat
      center;
    background-size: 100% 100%;
    display: flex;
    .elinput {
      width: 80%;
      height: 28px;
    }
    .fangdajing {
      cursor: pointer;
      margin-left: 45px;
      width: 28px;
      height: 28px;
      background-size: 100% 100%;
      background: url("@/assets/PlanningDetails/ICON_SOUSUO@2x.png") no-repeat
        center;
      background-size: 60% 60%;
    }
  }
  /deep/.el-input__wrapper {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    color: #fff !important;
    font-size: inherit !important;
  }
  /deep/.el-input__inner {
    color: #fff;
  }
  .Educationallandhezi-box {
    margin: auto;
    margin-top: 12px;
    width: 376px;
    height: 630px;
    .Biaoge-top {
      width: 100%;
      height: 28px;
      background: url("@/assets/Educationalland/LIEBIAOTOUBU.svg") no-repeat
        center;
      background-size: 100% 100%;
      display: flex;
      font-size: 12px;
      // background-color: pink;
      .Biaoge-title1 {
        width: 88px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 51%, #4abaff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .Biaoge-title2 {
        width: 80px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 51%, #4abaff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .Biaoge-title3 {
        width: 70px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 51%, #4abaff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .Biaoge-title4 {
        width: 80px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 51%, #4abaff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .Biaoge-title5 {
        width: 58px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 51%, #4abaff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }
    .Biaoge-centerBox {
      margin-top: 3px;
      overflow-y: scroll;
      width: 100%;
      height: 598px;
      .Biaoge-item {
        width: 100%;
        height: 28px;
        margin-top: 2px;
        background: url("@/assets/PlanningDetails/BJ_LBNEIRONG@2x.png")
          no-repeat center;
        background-size: 100% 100%;
        display: flex;
        font-size: 12px;
        .Biaoge-item1 {
          width: 88px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #caf0ff;
        }
        .Biaoge-item2 {
          width: 80px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #caf0ff;
        }
        .Biaoge-item3 {
          width: 70px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #caf0ff;
        }
        .Biaoge-item4 {
          width: 80px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #caf0ff;
        }
        .Biaoge-item5 {
          width: 58px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          color: #caf0ff;
          .Biaoge-icon {
            cursor: pointer;
            width: 12px;
            height: 14px;
            background-color: red;
            margin: auto;
            margin-top: 7px;
            background: url("@/assets/Educationalland/DINGWEI.svg") no-repeat
              center;
            background-size: 100% 100%;
          }
        }
      }
    }
  }
}
</style>
